{% extends "base.html" %}

{% block title %}SuperMain BBS{% endblock %}

{% block content %}
<div class="container">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <p><b>{{ look_post.user.username }} </b> {{ look_post.post_date }} <small>地基</small></p>
        </div>
        <div class="panel-body">
            <p>{{ look_post.html_text|safe }}</p>
        </div>
    </div>
    {% for page in now_page %}
    <div class="panel panel-default">
        <div class="panel-heading">
            <p><b>{{ page.user.username }} </b> {{ page.post_date }} <small>{{ page.build_num }}楼</small></p>
        </div>
        <div class="panel-body">
            <p>{{ page.html_text|safe }}</p>
        </div>
    </div>
    {% empty %}
    <p>还没有任何人加入讨论！</p>
    {% endfor %}
    
</div>
{% endblock %}